package cn.wolfcode.service;

import cn.wolfcode.domain.Emp;
import cn.wolfcode.domain.PageResult;
import cn.wolfcode.domain.Result;

import java.util.Date;
import java.util.List;

public interface EmpService {
    PageResult query(String name, Integer gender, Date begin, Date end, Integer pageNum, Integer pageSize);

    Emp getById(Long id);

    void update(Emp emp);

    void add(Emp emp);


    void delete(List<Long> ids);

    Result login(Emp emp);
}
